import {apiapi} from '@/static/js/http.js';

//商品详情页面数据
export const detail= params=>apiapi('index/detail', params);
//商品详情页面可领取优惠券
export const coupon= params=>apiapi('goods/coupon', params);
//秒杀商品详情数据
export const seckillDetail= params=>apiapi('index/seckillDetail', params);
//积分商品详情页面数据
export const integralDetail= params=>apiapi('user/integralDetail', params);
//拼团商品详情
export const collageDetail= params=>apiapi('index/collageDetail', params);
//待拼的团
export const collageList= params=>apiapi('index/collageList', params);
//获取拼团倒计时
export const collageTime= params=>apiapi('index/collageTime', params);
//拼团订单提交页面数据接口
export const orderSubmit= params=>apiapi('assemble/orderSubmit', params);
//普通与秒杀订单确认页面
export const skillNormalOrderSubmit= params=>apiapi('order/orderSubmit', params);
//积分兑换确认订单页面数据
export const integralOrder= params=>apiapi('user/integralOrder', params);
//添加购物车
export const cartAdd= params=>apiapi('order/cartAdd', params);
//商品详情分享图地址
export const share= params=>apiapi('index/share', params);